package com.xuecheng.content.test;

import org.springframework.context.ApplicationEvent;

/**
 * @ClassName TestDemo
 * @Description TODO
 * @Date 2023/7/16 21:07
 * @Version 1.0
 */
public class CustomEvent extends ApplicationEvent {

    private String message;

    public CustomEvent(Object source, String message) {
        super(source);
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
